// 管理系统接口
import axios from "axios";
import service from "@/config/index";

export default {
  async loadHistories (filter = {}) {
    let url = `${service.serviceAdmin}/tracing/search`;
    let response = await axios.post(url, filter);
    return response;
  },
  async loadExcelTemplates () {
    const response = await axios.get("/admin/system/templates")
    return response;
  },
  async getSystemBillDate () {
    const response = await axios.get("/admin/system/billDate")
    return response;
  }
};
